﻿<Page
    x:Class="SmartPatientCentre.Pages.Login"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:SmartPatientCentre.Pages"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid>
        <Grid.Background>
            <ImageBrush Stretch="UniformToFill" ImageSource="ms-appx:///Assets/Ward-Blurred.jpg"/>
        </Grid.Background>
        <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" >
            <TextBlock Style="{StaticResource HeaderTextBlockStyle}" Margin="30" Text="Smart Patient Centre" FontWeight="SemiBold" />
            <TextBox x:Name="UsernameTextBox" PlaceholderText="Username" Margin="10" MaxWidth="200" PreventKeyboardDisplayOnProgrammaticFocus="True"/>
            <PasswordBox x:Name="LoginPasswordBox" PlaceholderText="Password" Margin="10" MaxWidth="200" />
            <Button x:Name="LoginButton" Content="Login" HorizontalAlignment="Center" Click="LoginButtonClick" />
            <ProgressRing x:Name="LoginProgressRing" IsActive="False" Margin="10" Height="40" Width="40" Foreground="Black" />
            <TextBlock x:Name="Status" HorizontalAlignment="Center" />
        </StackPanel>
    </Grid>
</Page>
